﻿<UserControl x:Class="sdm.exam.ui.ExamAdministration.TeacherForSubject"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="286" d:DesignWidth="490">
    <Grid>
        <Label Content="Teacher:" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="lblTeacher" VerticalAlignment="Top" />
        <ComboBox ItemsSource="{Binding}" Height="23" HorizontalAlignment="Left" Margin="12,46,0,0" Name="cbbTeacher" VerticalAlignment="Top" Width="147" />
        <Label Content="Course:" Height="28" HorizontalAlignment="Left" Margin="167,12,0,0" Name="lblCourse" VerticalAlignment="Top" />
        <ComboBox ItemsSource="{Binding}" Height="23" HorizontalAlignment="Left" Margin="167,46,0,0" Name="cbbCourse" VerticalAlignment="Top" Width="156" />
        <Label  Content="Class:" Height="28" HorizontalAlignment="Left" Margin="329,12,0,0" Name="lblSemester" VerticalAlignment="Top" />
        <ComboBox ItemsSource="{Binding}" Height="23" HorizontalAlignment="Left" Margin="329,46,0,0" Name="cbbClass" VerticalAlignment="Top" Width="140" />
        <Button Content="Submit" Height="23" HorizontalAlignment="Left" Margin="403,251,0,0" Name="btnSubmit" VerticalAlignment="Top" Width="75" Background="White" Click="btnSubmit_Click" />
        <Button Content="Delete" Height="23" HorizontalAlignment="Left" Margin="309,251,0,0" Name="btnDelete" VerticalAlignment="Top" Width="75" Background="White" />
        <ListBox ItemsSource="{Binding}" Height="199" HorizontalAlignment="Left" Margin="12,75,0,0" Name="lstTeacher" VerticalAlignment="Top" Width="257" />
    </Grid>
</UserControl>
